
{$array=GetList($zbp->option['ZC_RELATEDLIST_COUNT'],null,null,null,$article->Tags,null,array('is_related'=>$article->ID));}
<div class="hidden-xs" id="post-related">
	<div class="related-title"><i class="fa fa-share-alt"></i> 相关推荐</div>
	<div class="row">
	            {foreach $array as $related}
	            {php}
                                        $temp=rand(11,30);
                                        $pattern="/<[img|IMG].*?src=[\'|\"](.*?(?:[\.gif|\.jpg|\.png]))[\'|\"].*?[\/]?>/";
                                        $content = $related->Content;
                                        preg_match_all($pattern,$content,$matchContent);
                                        if(isset($matchContent[1][0]))
                                        $temp=$matchContent[1][0];
                                        else
                                        $temp="$host/zb_users/theme/$theme/style/random/$temp.jpg";
										{/php}    
   <div class="col-sm-4">
		              <div class="thumbnail">
		                <div class="caption">
											<p class="post-related-title">
												<a href="{$related.Url}" rel="bookmark" title="{$related.Title}">{$related.Title}</a>
											</p>
											<a href="{$related.Url}" class="post-related-img">
												<img width="400" height="225" src="{$temp}" class="lazy attachment-medium wp-post-image" alt="{$related.Title}" style="height: 121.50000000000001px; display: block;"></a>
										</div>
		              </div>					                
		            </div>
{/foreach}																					
	            																					
	            																					
	            																					
	            																					
	            							</div>
</div>